package com.school_admin.service;

import com.school_admin.config.Result;
import com.school_admin.entity.Post;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2024-03-18
 */
public interface IPostService extends IService<Post> {

    Result<?> getPostListWeb(int page, int pageSize, String uid);

    Result<?> queryPost(String postId);

    Result<?> getPostListAdmin(int page, int pageSize);

    Result<?> getPostListAdminSearch(int page, int pageSize, String keyWord);
}
